import Mock from "mockjs"
import homeApi from "./home.js"
import permission from "./permission.js"
// 1.拦截路径 2 方法 3.制造的假数据
Mock.mock(/api\/home\/getTableData/, "get", homeApi.getTableData)
Mock.mock(/api\/home\/getCountData/, "get", homeApi.getCountData)
Mock.mock(/api\/permission\/getMenu/, "post", permission.getMenu)
Mock.mock(/api\/home\/getCharData/, "get", homeApi.getCharData)